package com.busi.controller.amountManagement;

import com.busi.entity.AmountManagement;
import com.busi.util.HttpUtils;
import com.busi.util.PropertyUtil;
import com.zcurd.controller.BaseController;

/** ******************  类说明  *********************
 * class       :  AmountManagementController
 * @author     :  xusai
 * @version    :  1.0  
 * description :  金额管理接口管理
 * @see        :                        
 * 
 * ***********************************************
 * */
public class AmountManagementController extends BaseController{
		/**
		 * ******************  方法说明  ********************
		 * method name :  list
		 * @author     :  xusai
		 * @version    :  1.0  
		 * description :  列表查询详细
		 * @see        :     
		 * ***********************************************
		 * */
		public void list() {
			render("list.html");
		}
		public void listData(){
			AmountManagement amountManagement=getBean(AmountManagement.class,"");
			String body = gson.toJson(amountManagement);
			String domain = PropertyUtil.getStrValue("new_zx.domain", "");
			String url = domain + "/api/amountManagement/findList";
			String[][] headers = {{"Content-Type", "application/json"}};
			String jsonString = HttpUtils.doPost(url, body, headers , 3, 5, "utf-8");
			renderJson(jsonString==null?"":jsonString);		
		}
}
